Fix: document the account saved on discovered cloud targets - #3425
Open
HuyPhanNguyen wants to merge 2 commits into
Open
Fix: document the account saved on discovered cloud targets#3425HuyPhanNguyen wants to merge 2 commits into
HuyPhanNguyen wants to merge 2 commits into
Conversation
…ed targets and used for their deployments and health checks.
|
Pull request environment is available at https://stoctodocspr3425.z22.web.core.windows.net. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
HuyPhanNguyen
marked this pull request as ready for review
August 27, 2026 23:06
HuyPhanNguyen
enabled auto-merge (squash)
August 27, 2026 23:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Cloud target discovery saves the account it authenticated with onto every target it creates, and that account is what Octopus then uses to deploy to the target and run its health checks. The page never said so. It describes
Octopus.Azure.Accountas an account "to use when discovering cloud targets", which reads like the account is only used for the scan.FD-731 came in because of that. Someone took the account out of their deployment and couldn't work out why an Azure Web App target still pointed at it, or whether they had to go and change the target themselves. Two other spots on the page steer you wrong: the switch-off instructions stop at "discovery is now off" and never mention existing targets, and the stale-target warning says Octopus removes them automatically. It only does that when a target fails its health checks.
Results
Says where a discovered target's account comes from, and what happens to it when you change or remove the discovery account. Also fixes a broken in-page link.
Fixes FD-731
Before
Octopus.Azure.AccountandOctopus.Aws.Accountread as credentials for the discovery scan only.[Cleaning up unhealthy targets]had no link destination.After
#cleaning-up-unhealthy-targets.Pre-requisites